using System;
using System.Collections.Generic;
using System.Text;
using SqlTools.DataAccessLibrary;

namespace SqlTools.SampleDAL
{
	public class User_RolePrimaryKey : PrimaryKey
	{
		protected int _userID = 0;
		protected int _roleID = 0;

		public User_RolePrimaryKey()
			: this(0, 0)
		{
		}

		public User_RolePrimaryKey(int userID, int roleID)
		{
			_userID = userID;
			_roleID = roleID;

			this.Columns.Add("UserID", _userID);
			this.Columns.Add("RoleID", _roleID);
		}

		public int UserID
		{
			get { return _userID; }
			internal set { _userID = value; }
		}

		public int RoleID
		{
			get { return _roleID; }
			internal set { _roleID = value; }
		}
	}
}
